﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using Tong;
public partial class Ascx_Inc_file : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        
        String Abs_path = TongUse.SysPath;// 网站用于加载的CSS或JS文件的绝对路
        string text=null;//用于输出的 文件HTML
        text = "<script language='javascript' src='" + Abs_path + "aspnet/admin/inc/js/check.js'></script>\r\n";
        text += "<script language=\"javascript\"  type =\"text/javascript\" src=\""+Abs_path+"aspnet/admin/inc/js/other.aspx\"></script>";
        text +="<script language=\"javascript\"  type =\"text/javascript\" src=\""+Abs_path +"aspnet/admin/inc/js/ajax.js\"></script>";



        Inc_file.Text = text;//如果用 Response.Write(text); 就会出错
        // sys.webForms. Page Requet Manager Parser Error Exeception :
        //The message received from the server could not be parsed.
        //common causes for this error
        //are when the response id modified by calls to Response.write(),
        //response filters,httpModules, or server trcace id enable.
        //details: error parsing near ''
        //http://bbs.blueidea.com/thread-2700064-1-1.html
        

    }
}
